child = list->data;
attach = &child->attach[orientation];
- if (attach->span != 1)
- continue;
- if (gtk_widget_compute_expand (child->widget, orientation))
+ if (attach->span == 1 && gtk_widget_compute_expand (child->widget, orientation))
lines->lines[attach->pos - lines->min].expand = TRUE;
-
- lines->lines[attach->pos - lines->min].empty = FALSE;
- }
-
- for (i = 0; i < lines->max - lines->min; i++)
- {
- if (lines->lines[i].empty)
- lines->lines[i].expand = TRUE;
}
}
if (attach->pos + i >= max || attach->pos + 1 < min)
continue;
- if (line->empty)
- line->expand = TRUE;
line->empty = FALSE;
}